package encrypt

type encryptNoop struct {
}

func NewEncryptNoop(key string) Encrypter {
	return &encryptNoop{}
}

func (e *encryptNoop) encrypt(buf []byte, in []byte, salt []byte) (out []byte, err error) {
	out = in
	return
}

func (e *encryptNoop) decrypt(buf []byte, in []byte, salt []byte) (out []byte, err error) {
	out = in
	return
}

func (e *encryptNoop) salt() (salt []byte) {
	return
}

func (e *encryptNoop) cipher() int {
	return 0
}
func (e encryptNoop) String() string {
	return ""
}
